package com.hydra.auth.common;

/**
 * 授权相关的常量
 * @Author Hydra
 * @Date 2022/5/27 13:46
 */
public interface AuthConstant {

    /**临时用户的密码*/
    String TEMPORARY_USER_PASSWORD = "password";


    /**用户状态-启用*/
    String USER_STATUS_ON = "1";

    /**角色状态-启用*/
    String ROLE_STATUS_ON = "1";

    /**注册相关的常量*/
    interface RegisterConstant {
        /**邮件*/
        String FORGET_PASSWORD_TYPE_MAIL = "mail";
        /**手机*/
        String FORGET_PASSWORD_TYPE_MOBILE = "mobile";

        /**验证码类型-忘记密码*/
        String VALIDATE_CODE_TYPE_FORGET_PASSWORD = "forgetPass";
    }

}
